
<%@page import="java.math.BigDecimal"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ page language="java" import="java.util.*,com.shop.pojo.Users" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>显示注册信息</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body style=" text-align: left;">
  
 <%request.setCharacterEncoding("UTF-8"); %>
   <jsp:useBean id="tourist" class="com.shop.pojo.Users" scope="session"></jsp:useBean>
   <jsp:setProperty property="*" name="tourist"/>        
   
  <div class="main">
    <div class="wraper">
        
    	<h3 align="center">请确认您的详细信息</h3>
     
        <form class="registerform" action="<%=basePath%>user/userAction_register" method="post">
            <table align="center" border="0">
            <tr>
            <td> 用户名：</td><td>${tourist.uname }
            		</td>
                  </tr>
                  <tr>
                  <td> 
                  密码：</td><td> ${tourist.upassword }</td>
                  </tr>    
                 <tr>
            <td>  真实姓名：</td><td>${tourist.urname }
                           </td>
                  </tr>    
                 <tr>
            <td> E-mail：</td><td>${tourist.uemail }
                        </td>
                  </tr>    
                 <tr>
            <td> 密码提问：</td><td>${tourist.usolution }
                            </td>
                  </tr>    
                 <tr>
            <td> 密码答案：</td><td>${tourist.uanswer}
                              </td>
                  </tr>    
                 <tr>
            <td> 详细地址：</td><td>${tourist.uaddress} 
                           </td>
                  </tr>    
                 <tr>
            <td> 
               联系电话：</td><td>${tourist.utelephone} 
         </td>
                  </tr>    
                 <tr>
            <td> 身份证号：</td><td>${tourist.uidcard} 
			         </td>
                  </tr>    
                 <tr>
            <td> 性别：</td>
            <td>
            <%if(tourist.getUsex().intValue()==1) {%>
            男
            <%} else{%>
            女
            <%} %>
                       </td>
                  </tr>   
                
           <tr><td>
                <input type="submit" value="提 交信息" /> </td><td><input type="reset" value="重 置" /></td>
                </tr>
       
</table>
        </form> 
    </div>
</div>
  </body>
</html>
